# How to trigger both google universal analytics events and piwik pro events at the same time?

**URL:** <https://community.piwik.pro/t/how-to-trigger-both-google-universal-analytics-events-and-piwik-pro-events-at-the-same-time/2167>\
**Category:** Data collection and tags\
**Created:** [May 9, 2023, 6:13pm UTC](https://community.piwik.pro/t/how-to-trigger-both-google-universal-analytics-events-and-piwik-pro-events-at-the-same-time/2167 "2023-05-09T18:13:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![spujade](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/spujade/32/1453_2.png) [@spujade](https://community.piwik.pro/u/spujade)\
**Post date:** [May 9, 2023, 6:13pm UTC](https://community.piwik.pro/t/how-to-trigger-both-google-universal-analytics-events-and-piwik-pro-events-at-the-same-time/2167/1 "2023-05-09T18:13:42Z")

</div>

Hello the Piwik Pro,  
I’m facing the following issue.  
On a website we’re using Piwik Pro and google universal analytics at the same time.  
I would like to trigger not only pageviews but also events to Piwik Pro (using Tealium) but until now, i’ve facing issue because instead of sending events to Piwik Pero i’ve got only events sent to GA3.

Can you please help to fix it ? And also, what should i be aware of using both tools at the same time (code interferrence or something else) please?  
Thanks for your help.  
Good evening,  
Sébastien

---

<div class="post-metadata">

**Author:** ![Oliwer\_Kaczmarek](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/oliwer_kaczmarek/32/3888_2.png) [@Oliwer\_Kaczmarek](https://community.piwik.pro/u/Oliwer_Kaczmarek)\
**Post date:** [May 10, 2023, 12:39pm UTC](https://community.piwik.pro/t/how-to-trigger-both-google-universal-analytics-events-and-piwik-pro-events-at-the-same-time/2167/2 "2023-05-10T12:39:28Z")

</div>

If you are using Tealium TMS then to send custom events to Piwik PRO you need to use our JS tracking API:  
`_paq.push(["trackEvent", {{ Event Category }}, {{ Event Action }}, {{ Event Name }}, {{ Event Value }}])`  
For example someone just watched a 75% of the YT video on your site:  
`_paq.push(["trackEvent", "Video - Youtube", "Progress", "How to set up a dashboard in Piwik PRO", 75])`

Here is our documentation on Custom Events [Guides — Piwik PRO Analytics Suite 17.0 documentation](https://developers.piwik.pro/en/latest/data_collection/web/guides.html#custom-events)

When it comes to code interferrence the issue that sometimes happens is GA dataLayer overriding Piwik PRO dataLayer instead of using the same dataLayer.

---

<div class="post-metadata">

**Author:** ![spujade](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/spujade/32/1453_2.png) [@spujade](https://community.piwik.pro/u/spujade)\
**Post date:** [May 10, 2023, 4:16pm UTC](https://community.piwik.pro/t/how-to-trigger-both-google-universal-analytics-events-and-piwik-pro-events-at-the-same-time/2167/3 "2023-05-10T16:16:18Z")

</div>

Thanks a lot @Oliwer_Kaczmarek i will share with the tealium Tealium team.  
Wish you a lovely day  
Sébastien
