01

Create a tag

Create a new tag in the GTM container already installed on your website.

02

Choose Custom HTML

Use Google's Custom HTML tag type for the ImagenTra widget.

03

Trigger on All Pages

Configure the tag to fire wherever ImagenTra should be available.

04

Preview & publish

Test the widget with Tag Assistant, then publish your GTM container.

BEFORE YOU START

Google Tag Manager must already be installed

This method assumes that a Google Tag Manager web container is already installed and working on your website.

If GTM is not installed yet, use the ImagenTra installation method for your website platform, or install Google Tag Manager first.

STEP 1

Create a new GTM tag

Sign in to Google Tag Manager and open the web container used by your website.

Workspace Tags New

Give the new tag a clear name:

ImagenTra Widget
WHY GTM?

No website code changes

Once the GTM container is present on your site, additional scripts can be managed through the Tag Manager interface.

This makes GTM a useful universal installation option for ImagenTra.

STEP 2

Choose Custom HTML

Click Tag Configuration and select:

Custom HTML

Google provides the Custom HTML tag specifically for third-party HTML and JavaScript that doesn't have a dedicated GTM tag type.

Paste your complete ImagenTra widget into the HTML field:

<script src="https://widget.imagentra.com/widget/widget_v27.js?key=MERCHANT_PUBLIC_KEY&stkey=STORE_PUBLIC_KEY"></script>

Your real ImagenTra widget already contains the correct merchant and store public keys.

IMPORTANT

Keep the script tags

Google requires JavaScript entered in a Custom HTML tag to be wrapped in <script>...</script>.

ImagenTra's generated widget already has the correct structure, so paste it exactly as provided.

STEP 3

Add the All Pages trigger

At the bottom of the tag configuration, click Triggering.

Select:

All Pages

GTM triggers decide when a tag fires, and every tag needs at least one trigger. An All Pages page-view trigger fires the tag as pages are loaded.

Save the tag when finished.

DEFAULT SETTING

Start with All Pages

For the normal ImagenTra installation, All Pages is the simplest and safest default.

More advanced GTM users can later restrict the widget with custom triggers if ImagenTra should only appear on specific parts of the site.

For example, GTM could load ImagenTra only on product pages if your implementation specifically requires that.
RECOMMENDED CONFIGURATION

Your ImagenTra GTM tag should look like this

Tag name: ImagenTra Widget
Tag type: Custom HTML
Trigger: All Pages
STEP 4

Test with GTM Preview

Before publishing, use Google Tag Manager's built-in Preview mode.

Click:

Preview

Enter your website URL and click Connect.

Google opens the website together with Tag Assistant so you can check whether the ImagenTra Widget tag fired successfully.

Tag Assistant connected
ImagenTra Widget fired
Widget visible on website
TEST FIRST

Preview doesn't affect normal visitors

GTM Preview allows you to test the current workspace configuration before publishing it.

This is the best time to confirm that ImagenTra loads properly on the domain associated with your package.

STEP 5

Publish the GTM container

Once the Preview test is successful, return to the GTM Workspace and click:

Submit

Select:

Publish and Create Version

Give the version a useful name such as:

Added ImagenTra Widget

Click Publish.

Google records a version whenever the container is published, allowing you to return to an earlier configuration if necessary.

IMPORTANT

Saving isn't publishing

A saved GTM tag remains only in the current workspace until the container is published.

ImagenTra won't become active for normal visitors until you publish the new container version.

DOMAIN VERIFICATION

Verify the domain through GTM

ImagenTra domain verification isn't required to use your purchased package. It is only required when you want access to the domain's protected statistics and analytics.

GTM also gives you a convenient way to run the temporary ImagenTra verification widget.

01
Copy the verification widget

Get the temporary ImagenTra verification widget generated for your domain.

02
Edit the ImagenTra GTM tag

Open the ImagenTra Widget Custom HTML tag.

03
Temporarily replace the script

Replace the standard widget with the temporary verification widget.

04
Preview or publish it

Make sure the verification widget is actually loading on the domain. For a normal verification flow, publish the temporary change.

05
Verify the domain

Load the verification widget from the same device where you requested the verification.

06
Restore the normal widget

Restore your normal ImagenTra script in GTM and publish the container again.

UNIVERSAL VERIFICATION

GTM avoids server-file access

The temporary widget method works without FTP, hosting-panel or .well-known directory access.

This can be especially useful on hosted website builders where direct server access isn't available.

Once verification succeeds, restore the normal GTM tag and use the protected ImagenTra statistics.
COOKIE / CONSENT MANAGEMENT

Respect your website's consent configuration

If your GTM container is connected to a Consent Management Platform or uses consent-aware triggers, make sure the ImagenTra tag is configured according to the actual function of the widget and your site's privacy policy.

Don't automatically copy the trigger settings used for advertising or analytics tags unless they are appropriate for ImagenTra.

READY

ImagenTra is now managed through Google Tag Manager

Once the published GTM container loads the ImagenTra Custom HTML tag on the domain associated with your package, you can use your available generations without modifying the website source directly.

https://yourstore.com
ImagenTra
ASK IMAGENTRA

How can we help?

Send us a quick message and we'll get back to you.

Name

Email

Your message

Please enter the symbols from the image you see below


I agree with....

successfully added to your cart!