Google Ads integration

If you want to see your Google campaigns in Piwik PRO Analytics and combine data about ad clicks with data about visitors coming from ads, the integration with Google Ads will come in handy.

Before you integrate, you need to contact us at and we’ll turn the integration option on for you. After doing that, you’ll need to follow these steps.

Connect with Google Ads

First, you need to connect Piwik PRO with Google Ads. For this step, you’ll need the Google Ads Customer ID.

To find the Google Ads Customer ID, follow these steps:

  1. Log in to Google Ads.
  2. Look in the top right corner of any page.
  3. You’ll find the ID above the email address.

Once you have the ID ready, you can set up the integration in Piwik PRO.

To connect to Google Ads, follow these steps:

  1. Log in to Piwik PRO.
  2. Go to Menu > Analytics settings.
  3. Navigate to AdWords Connect (this option is available after we turn it on for you).
  4. Paste the Google Ads Customer ID and click Connect.
  5. Follow confirmation screens from Google.
  6. When done, you’ll see your campaigns on the dashboard called AdWords Campaigns Management.
  7. For each campaign, you need to assign the website you’re sending people to.
  8. And for each campaign, you need to add a Piwik PRO campaign. This step is complex, so we’ll describe it in smaller chunks.

To add a Piwik PRO campaign to Google Ads, follow these steps:

  1. Log in to Google Ads.
  2. Navigate to Campaigns.
  3. Open a Campaign, Ad group, or Ad.
  4. Find the Final URL.
  5. Copy the Final URL, open the Piwik PRO URL builder, and paste the URL.
  6. Add a campaign name.
  7. Optionally, add a campaign source, medium, keyword, content, and ID code. These parameters are not needed for Google Ads integration, but they are used in the campaign report (Analytics > Referrers > Campaigns).
  8. Click Generate URL.
  9. Tip: Instead of using the URL builder you can add the pk_campaign= parameter by adding it to the URL manually.

  10. Copy the URL with added parameters.
  11. Paste the URL with added parameters to Google Ads.
  12. Paste the campaign name to Piwik PRO. The campaign name is the name that follows the pk_campaign= in the URL ?pk_campaign=campaignname.
  13. When done, click Save settings.

Repeat this process for each Google Ads campaign, so that every ad is mapped and data are being transferred to Piwik PRO.

View Google Ads in Analytics

Once you’ve set up the integration and mapped your campaigns, you can see data about visitors coming from ads on Google in the report.

To view the report with Google Ads campaigns, follow these steps:

  1. Log in to Piwik PRO.
  2. Go to Menu > Analytics.
  3. Navigate to Actions > AdWords.

In this report, you’ll see the bounce rate, time on site, and actions for each Google Ads campaign. When you set up goals for your website, goal conversions will also appear in this report. And, if you wish to filter out visitors coming from Google Ads campaigns, you’ll be able to do that using segments.

Was this article helpful?

of people found this helpful

Technical Support

If you have any questions, drop us a line at

We’re happy to help!