How can we help?

User Agent Info power-up

Ivanna
Ivanna
  • Updated

When User Agent Info power-up is enabled, the following headers are added to the Incoming HTTP Request inside the sGTM:

  • X-Device-Bot
  • X-Device-Mobile
  • X-Device-Os
  • X-Device-Browser
  • X-Device-Browser-Version
  • X-Device-Engine
  • X-Device-Engine-Version

To use User Agent Info power up, log in to your stape.io account, open the sGTM container, go to the Power Ups tab, and click Use User Agent Info power up. After that, enable the power-up and click Save.

Screenshot 2023-10-26 at 11.30.27.png

 

Once done, open the server Google Tag Manager container preview, go to the Request tab, click on any incoming request, and expand the Request Headers section. You should see user agent info headers are added, similar to what you see on the screenshot below. 

Screenshot 2023-10-26 at 11.53.31.png

 

To use these Requests Headers in the server Google Tag Manager create a new variable with the variable type Request Header and type Header Name. 
Screenshot 2023-10-26 at 12.08.48.png

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.