Google AdWords Conversion Tracking code
Adinfinitum
Registered Users Posts: 5 Big grins
Hello,
I would be surprised if this has not been discussed elsewhere so forgive me, but my search only found this topic discussed a few years ago under legacy SM.
First, allow me to introduce myself,
My name is Tony, and I have a Smug Mug Pro account
URL: www.tonyheywardimages.com.au
It is my goal to be selling prints, canvases etc from the site, and I chose SM for the quality image handling. Although all of my (public) images are available for sale, I have created a separate page which is linked to the home/landing page entitled "shop" to make it easier for visitors and myself, which links to a smart gallery. The reasons for this information will be apparent below.
Most questions I've had about setting up my site I've found answers to either from SM support page or as a lurker on DGrin, but the answer to this question has eluded me.
I have recently set up a Google AdWords account and have been assigned one of their consultants. It seems to be off to a slow but manageable start but in order to evaluate effectiveness, I need to insert several lines of Java Script code into an appropriate page to measure add click-through against potential sales conversion. I can copy the code in a post here if it helps but I should stipulate this is NOT the same as Google Analytics code UA number, this is a script that needs to sit on a page, preferably a check-out page but I would settle for my Shop page as a compromise should this not be possible.
I thank you for taking the time to read this post and I hope I have explained my question clearly.
I would be surprised if this has not been discussed elsewhere so forgive me, but my search only found this topic discussed a few years ago under legacy SM.
First, allow me to introduce myself,
My name is Tony, and I have a Smug Mug Pro account
URL: www.tonyheywardimages.com.au
It is my goal to be selling prints, canvases etc from the site, and I chose SM for the quality image handling. Although all of my (public) images are available for sale, I have created a separate page which is linked to the home/landing page entitled "shop" to make it easier for visitors and myself, which links to a smart gallery. The reasons for this information will be apparent below.
Most questions I've had about setting up my site I've found answers to either from SM support page or as a lurker on DGrin, but the answer to this question has eluded me.
I have recently set up a Google AdWords account and have been assigned one of their consultants. It seems to be off to a slow but manageable start but in order to evaluate effectiveness, I need to insert several lines of Java Script code into an appropriate page to measure add click-through against potential sales conversion. I can copy the code in a post here if it helps but I should stipulate this is NOT the same as Google Analytics code UA number, this is a script that needs to sit on a page, preferably a check-out page but I would settle for my Shop page as a compromise should this not be possible.
I thank you for taking the time to read this post and I hope I have explained my question clearly.
0
Comments
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
Please check out my gallery of customisations for the New SmugMug, more to come!
I'll have to check, in the meantime, to ensure what I am saying is accurate, this is the google script generated by the adwords consultant (individual account number removed)
__________________________________________________
<!-- Google Code for Sales Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = xxxxxxxxx;
var google_conversion_language = "en";
var google_conversion_format = "2";
var google_conversion_color = "ffffff";
var google_conversion_label = "AJB9CP_x4AcQ4YOj0QM";
var google_conversion_value = 0;
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/xxxxxxxxx/?value=0&label=AJB9CP_x4AcQ4YOj0QM&guid=ON&script=0"/>
</div>
</noscript>
_________________________________________________________
So am I correct that this is Java script, and subsequently cannot be used in new SM?
Ah, we posted at the same time - as you can see there is a <noscript> section. So this can be used then? If so, do I add a content block, HTML type, onto my selected page then simply past this whole script into that. Last time I tried that the script appeared on the page. I'm not HTML literate.
That looks like it renders okay and should work for you.
Please check out my gallery of customisations for the New SmugMug, more to come!
Thank you for the quick reply, just to confirm, I ignore all the top code and ONLY paste in this part?
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/xxxxxxxxx/?value=0&label=AJB9CP_x4AcQ4YOj0QM&guid=ON &script=0"/>
</div>
</noscript>
My Website index | My Blog