Jump to content

How do I track AdWords conversions (form submission)?

Recommended Posts

So I’ve taken the HTML code Google has generated for me to place on the ‘thank you’ page and pasted that into the post-submit HTML field of the advanced tab on the contact form config.

This, as far as I can see does not work. I added the code over a week ago. I know I’ve had 2 conversions since then but these do not show up in AdWords.

Could some one kindly explain if I’m doing something wrong? I have no idea which keywords and adgroups are performing leaving me helpless to improve them. Ideally I would like to track conversions in Google Analytics too.

Any help is appreciated. If anyone does have a solution to this please explain step by step if possible.

Many thanks

:)

Link to comment
  • 2 months later...
  • Replies 14
  • Views 21.3k
  • Created
  • Last Reply
  • 1 month later...

I contacted support on this. Here is their reply:

You can add this by going to Settings > Code Injection, then entering the code into the box under “Order Confirmation Page.”

Link to comment
  • 2 months later...
  • 3 months later...

Use the following solution if you want to have less work further down the road (it is easier than it looks).

To really track everything you would want to track i highly recommend using Google Tag Manager (GTM). Installing GTM is not as easy as the integrated Google Analytics solution, but once you have done it, you will (almost) never have to touch code injection again.

If you have spent enough hours trying to get Google Analytics right in Squarespace you will love this. I used this guide to install GTM: Event Tracking On Squarespace Using Google Tag Manager.

And found this solution to track form submissions (still just a workaround, but really easy): How can I track form submissions with GTM?

Hope this help. For further questions feel free to ask here.

online marketing lover

Link to comment

Why would you use any special code when GA does all the job for you, I assume you have Google Analytics already in place so all you have to do is paste this into your POST-SUBMIT HTML (your webform Advanced settings)

<meta http-equiv="refresh" content="0; url=/thank-you/">

Then GA will track all the submissions. Let me know if you need any more help.

Link to comment
  • 3 months later...

Google Adwords is able to show you information about which specific ad (if you run multiple) initiated the visit on your site.

If you need this depth of analysis, Google Analytics is not enough. You have to insert your Google Adwords code as well as the Meta Refresh Tag shown above.

  1. Create your own "thank-you"-page
  2. Insert your Google Adwords code via code block into your page.
  3. Insert the Meta Refresh Tag below in the "Post-Submit-HTML"-field. Make sure to adjust the url properly to match your page URL slug:

    <meta http-equiv="refresh" content="0; url=/thank-you/">

That's it.

Link to comment
  • 4 months later...
  • 3 months later...
  • 4 months later...

Hey guys,

So I've found a pretty useful work around. What you do is generate a 'page load' tracker in Adwords and then create a non-linked page in SS, so that it is public but does not show up in your index on the site - then each time a user visits this page, added as a specific URL to your campaign, it will track them landing there.

Link to comment
  • 8 months later...
  • 1 year later...

I think I have a solution! .. This has been bugging me for some time. I really wish Squarespace would use better form submission code. I'm assuming you know how to set up a conversion using Google tag manager. Add a 'Custom Event trigger' called: myevent .... Then Add this code:

<script>dataLayer.push({'event':'myevent'})</script>

to the Post-Submit HTML box. I suggest changing the name myevent.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.