• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Medicom Health HomepageMedicom Health

Contact Us
  • Marketing Solutions
  • Clinical Solutions
  • Company
  • Support
    • HRA Management Portal
    • HRA Support Articles
    • Rx Savings Assistant Support Articles
    • Contact Support

Health Risk AssessmentsSupport Articles

  • Overview
  • Case Studies
  • Blog & News
  • Events & Webinars
  • Support Articles

Support Topic: HRA Customization Features

Google Adwords Conversion Pixel Troubleshooting

Conversion pixels are a common type of custom code implemented by our clients. One of the most popular conversion pixel codes is Google Adwords. However, some clients experience issues when using Adwords. Because the Adwords code is not asynchronous, the code as copied from the Adwords website does not work if used on the “results” page. However, the code works as intended when implemented on the “start” page.

The code looks something like this when copied from Adwords:

<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 1234567890;
var google_conversion_label = "xxx-XXx1xXXX123X1xX";
var google_remarketing_only = "false"
var google_conversion_value = 10.0;
var google_conversion_currency = "USD"
/* ]]> */
</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/1234567890/?label=xxx-XXx1xXXX123X1xX"&amp;guid=ON&amp;script=0"/>
</div>
</noscript>
The only part that should be put into the custom code is the code between the noscript tags, but not the noscript tags themselves:
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1234567890/?label=xxx-XXx1xXXX123X1xX"&amp;guid=ON&amp;script=0"/>
</div>

Google Adwords Conversion gtag

Google has created a new Adwords embed code starting in 2018. The code looks like this:

<script async src="https://www.googletagmanager.com/gtag/js?id=AW-1057193461"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-XXXXXX');
</script>
<script>
gtag('event', 'conversion', {'send_to':'AW-XXXXXXX/XXXXXXXXXX'});
</script>

The code needs to be split across the “start” page and the “results” page. The top two scripts should be in the start page and the bottom script should be in the results page, as shown below:

Start Page Code:
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-XXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-XXXXXX');
</script>

Results Page Code:
<script>
gtag('event', 'conversion', {'send_to':'AW-XXXXXXX/XXXXXXXXXX'});
</script>

Primary Sidebar

Search
Generic filters
Exact matches only

HRA Support Topics

  • Common Questions
  • Management Portal
  • Follow-Up Plans
  • Campaign Attribution
  • CRM Integration
  • HRA Customization Features
  • HRA Promotions
  • Marketing Automation Integration
  • v3 Health Assessments
  • Web Analytics & Tagging
Dedicated to service: Please contact us with questions, comments, requests, etc.
We are growing: Open positions listed here.

Footer

Company Articles

HRA
Client Success Specialist
HRA
Anthony Martinez Anthony Martinez
HRA
New Partnership with Duet Health
Medicom Health Wins a Second Tekne Award

Marketing Articles

HRA
lung cancer Coming Soon! Lung Cancer HRA 2021 Update
HRA
May is Stroke Awareness Month
HRA
Why & How to Use Mobile to Capture Today’s Health Consumers
HRA
Facebook Conversion Campaign Changes iOS Update Forces Facebook Conversion Changes for Campaign Tracking

Clinical Articles

RxSA
Medicom Health About Rx Savings Assistant Portal Reports
RxSA
Medicom Health Logging In to the Portal and Profile Management
RxSA
Medicom Health About the Rx Savings Assistant Portal
RxSA
Medicom Health Offer Content Guidelines

Medicom Health

400 First Avenue North, Suite 550
Minneapolis, MN 55401 USA
Get directions
(800) 971-0785
  • Email
  • Facebook
  • LinkedIn
  • Twitter
Return to Top

Copyright © 2021 · Medicom Health – View Privacy Policy

Thank you!

Thank you for subscribing to Medicom Health News.

Suggested Articles

  • Marketing Solutions
  • Clinical Solutions
  • Company
  • Support
    • HRA Management Portal
    • HRA Support Articles
    • Rx Savings Assistant Support Articles
    • Contact Support
Thank you!

Make sure to also visit our features for you and features for your users page in order to see the real power that our HRAs can provide you and your organization. Acquiring new patients has never been easier.