# Infusionsoft Tag via Script/Javascript

**URL:** <https://integration.keap.com/t/infusionsoft-tag-via-script-javascript/53073>\
**Category:** Pro and Max\
**Created:** [September 24, 2018, 9:08pm UTC](https://integration.keap.com/t/infusionsoft-tag-via-script-javascript/53073 "2018-09-24T21:08:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpputong](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/rpputong/32/3012_2.png) [@rpputong](https://integration.keap.com/u/rpputong)\
**Post date:** [September 24, 2018, 9:08pm UTC](https://integration.keap.com/t/infusionsoft-tag-via-script-javascript/53073/1 "2018-09-24T21:08:16Z")

</div>

**Hi everyone,**

Is it possible to detect Infusionsoft Tag on an application with no Infusionsoft integration?

I know of a Wordpress Plugin like memberium where it can sync Infusionsoft/intergrate and can easily make a script or detect a user tag. Take a look at this one

> **[\[memb\_has\_any\_tag\] - Memberium - Keap Membership Plugin for WordPress](https://keap.memberium.com/shortcodes/memb_has_any_tag/)**
>
> Control access to sections of your pages based on the tags the current user has.

I was wondering if there is a way where we can use script/javascript and add it via Google Tag Manager.  
was thinking of a code like this…  
if user/email has this Infusionsoft tag  
redirect to a page  
else  
…  
something like that.

Any ideas?

Thanks and Regards,  
**Raphael**

---

<div class="post-metadata">

**Author:** ![martinc](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/martinc/32/14_2.png) [@martinc](https://integration.keap.com/u/martinc)\
**Post date:** [September 26, 2018, 6:41pm UTC](https://integration.keap.com/t/infusionsoft-tag-via-script-javascript/53073/2 "2018-09-26T18:41:19Z")

</div>

If you need to retrieve a tag associate with a contact, you would have to interface with the API.
