Dear support
we are using the enfold option for a own footer page. We included within this footer page several buttons, also one which targets our contact form. We are catching in this form also the referrer of the before visited page.
If someone klicks in the main menu or something else on a link to the contact form this referrer url is catched correct. If someone uses the button within the footer we only receive everytime our home slug https://www.l-mobile.com –> is there a way to receive the url of the page where the footer button is clicked?
Thanks in advance Marc
Hey Marc,
Sorry for the late reply, I assume you are “catching” these clicks with Google Analytics,
I believe that in this case the “footer page” should be viewed as an iframe, while technical not, it is added in the DOM the same way an iframe would be. So my first thought is using the Google Analytics options here
but I have not set this up before, so it’s a theory.
My second thought is adding an “event” to the links via jQuery on the page load in the DOM similar to this
but again, I have not set this up before, I hope this points you in the right direction.
Best regards,
Mike