Answers.Body: <p>It sounds like you're looking for the <a href="https://civicrm.org/extensions/google-analytics-event-and-e-commerce-tracking" rel="nofollow noreferrer">webtracking</a> extension.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-07-30T23:41:35.547Z
Answers.LastActivityDate: 2020-07-30T23:41:35.547Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>We have a Drupal site using CiviCRM and I would like to track how many times users go to our membership, subscription, and donation pages and then complete those respective transactions. In setting up a Google Analytics conversion goal, we successfully set up one for when someone lands on the pages, but apparently did not set it up correctly for the completion.</p>
  <p>We set up three goals, with each counting how many people landed on a thank-you page (civicrm/contribute/transact?_qf_ThankYou_display=true) after coming from either the membership, subscription, or donation CiviContribute page respectively, as such:</p>
  <p><a href="https://i.sstatic.net/Bki91.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Bki91.png" alt="enter image description here" /></a></p>
  <p>But we're getting the exact same number for each goal, suggesting it's just counting how many times someone ends on the Thank-you page regardless of where they come from. As you can see from the third screenshot below, we are getting 135 for the Thank-you pages (Goal 4, 5, or 6 Completions), regardless of it being a Join, Subscribe, or Donate page that got them there. That number is close to what I'm seeing in Civi, though not exactly.</p>
  <p><a href="https://i.sstatic.net/ERXUD.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ERXUD.png" alt="enter image description here" /></a>
  <a href="https://i.sstatic.net/oogGj.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/oogGj.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.sstatic.net/X8H2J.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/X8H2J.png" alt="enter image description here" /></a></p>
  <p>Any advice on how to fix that would be helpful.</p>
  
Tags: <civicontribute><google>
Title: Tracking completed transactions on CiviCRM in Google Analytics
ThreadText: # Tracking completed transactions on CiviCRM in Google Analytics
  
  (Asked by: username_0 on 2020-07-27)
  
  We have a Drupal site using CiviCRM and I would like to track how many times users go to our membership, subscription, and donation pages and then complete those respective transactions. In setting up a Google Analytics conversion goal, we successfully set up one for when someone lands on the pages, but apparently did not set it up correctly for the completion.
  
  We set up three goals, with each counting how many people landed on a thank-you page (civicrm/contribute/transact?\_qf\_ThankYou\_display=true) after coming from either the membership, subscription, or donation CiviContribute page respectively, as such:
  
  [![enter image description here](https://i.sstatic.net/Bki91.png)](https://i.sstatic.net/Bki91.png)
  
  But we're getting the exact same number for each goal, suggesting it's just counting how many times someone ends on the Thank-you page regardless of where they come from. As you can see from the third screenshot below, we are getting 135 for the Thank-you pages (Goal 4, 5, or 6 Completions), regardless of it being a Join, Subscribe, or Donate page that got them there. That number is close to what I'm seeing in Civi, though not exactly.
  
  [![enter image description here](https://i.sstatic.net/ERXUD.png)](https://i.sstatic.net/ERXUD.png)
  [![enter image description here](https://i.sstatic.net/oogGj.png)](https://i.sstatic.net/oogGj.png)
  
  [![enter image description here](https://i.sstatic.net/X8H2J.png)](https://i.sstatic.net/X8H2J.png)
  
  Any advice on how to fix that would be helpful.
  
  **Tags:** civicontribute, google
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-07-30. Score: 1
  
  It sounds like you're looking for the [webtracking](https://civicrm.org/extensions/google-analytics-event-and-e-commerce-tracking) extension.
  
  
  ---
  
  