Jump to content

Sending Form submission data to Google Ads using DOM Element CSS Element Selector

Recommended Posts

Hi everyone

I'm trying to send form submission data (phone number and email address) back to google ads in order to track conversions using the 'enhanced conversions' method. 

I can get it to work but the issue that I'm having is that the  DOM Element - CSS Selector - Element Selector keeps changing every so often which breaks the link and so the data doesn't get picked up.

Please see image below for the element selector used in google tag manager to capture an email address.

image.png.e8c8c588be16357bab6182bcf2b976a6.png

Is there any way of overcoming this issue?

I have several unique submission forms for various location pages on my website.

Appreciate any help.

Edited by John66
Changed wording
Link to comment
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.