How to attach tracking code to anchored link for an email newsletter while retaining scroll to view?

34 Views Asked by At

I'm trying to figure out how to attach a tracking code to a link and still keep the anchor functional. This will be used in an email newsletter.

ex:

www.example.com/welcome#Intro so that link would scroll down to the intro section right?

now if I were to do the same thing but like this www.example.com/welcome#Intro?TrackingCode the scroll no longer works.

I tried to google it but I couldn't find anything, any suggestions?

thanks for your time!

1

There are 1 best solutions below

0
On BEST ANSWER

Don't think you can track scrolls. The images load top to bottom. We can't use anything like lazy load as JavaScripts don't work in emails unless it's viewed in the browser. If you want to use on browser then you can use jQuery to do that.