• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
awtomator

AWtomator

AWeber Marketing Automator

  • Features
  • Reviews
  • Pricing
  • Resources
    • Tutorials
    • Blog
  • Login
  • Logout
  • Dashboard
  • Free Trial

Home • Resources • AWtomator Events and GrooveFunnels (Groove)

AWtomator Events and GrooveFunnels (Groove)

By Rob Woodgate

groove-page-settings-tracking

GrooveFunnels (now called Groove) is a funnel/landing page builder, like ClickFunnels, which supports AWeber forms.

The downside, at the time of writing, is their native AWeber integration doesn’t allow tagging, nor does it pass name/email to the “thanks” page, making it hard to segment subscribers in AWeber or trigger AWtomator events.

Here’s how you can fix this.

Step 1: Save Details on Opt-In Page

Simply open your opt-in page in Groove and place the Javascript code snippet below into the Page Settings > Tracking Codes > “Include in <body> bottom” section

<script>
document.addEventListener("submit", function() {
let awt_f = document.querySelector('[data-gp-aweber-form]');
let awt_e = awt_f.querySelector('input[name="email"]');
let awt_n = awt_f.querySelector('input[name="name"]');
if (!awt_e.value) {return;}
sessionStorage.setItem('email', awt_e.value);
sessionStorage.setItem('name', awt_n.value)
});
</script>

What this snippet does is wait for the AWeber form (data-gp-aweber-form) to be submitted and then saves the contents of the name and email fields to the browser session storage area.

The browser session storage area is ideal for temporary data storage as it is emptied when the browser is closed.

Note, if your AWeber form is in a Popup, you need to add the above snippet to the page(s) where that popup can appear.

Step 2: Use Details on Other Pages

Now the user’s name and email are saved, you can retrieve these on any page where you need to fire an AWtomator event or perform some other Javascript action that needs them.

Here’s the code snippet to retrieve the details, which again can be added to the Page Settings > Tracking Codes > “Include in <body> bottom” section of the page you need them on:

<script>
window.awt_email = sessionStorage.getItem('email');
window.awt_name = sessionStorage.getItem('name');
</script>

This saves the name and email into global Javascript variables called awt_email and awt_name. If you only need email, you can exclude the window.awt_name line.

You can then fire an AWtomator Page event AFTER the above snippet, and the awt_email variable will be used automatically, for example:

<script>
window.awt_email = sessionStorage.getItem('email');
</script>

<!-- AWtomator Page Event for Testing Groove -->
<script>(function(){var e=(!window.awt_email)?location.search:'?e='+awt_email;new Image(1,1).src='//www.awtomator.com/c/abc123'+e;})();</script>

Page events can perform any AWtomator action you like – including tagging the subscriber, copying them to another list, adding them to a Facebook audience, adding a coupon and more.

Final Tip: Add a delay to your page event

Groove’s AWeber integration will add the subscriber to your list. Your AWtomator page event will then modify that subscriber according to the event’s settings.

There is a chance that the AWtomator Page Event might “beat” the Groove integration and try to modify a subscriber that doesn’t exist yet.

To prevent such timing issues, add a 1-2 minute delay to your AWtomator page event. This ensures Groove has plenty of time to add the subscriber before you modify it.

- event 1 min delay

Filed Under: Tutorials

Get started with AWtomator free »

About Rob Woodgate

Since the day he left the corporate world in 2005, Rob has been honing his marketing and programming skills, and building tools to help smaller businesses market themselves more effectively online.

Rob founded AWtomator to bring the power of behavioral dynamic automation to AWeber. AWtomator's powerful features let bloggers, podcasters and niche marketers build a loyal following of enthusiastic fans and customers for a fraction of the cost of the premium email marketing solutions.

Primary Sidebar

AWtomator Demos

  • Facebook Lead Ads
  • Expiring Links
  • Video Buy Button (Call To Action)
  • Video Remember Last Visit
  • Video Advanced Actions

Categories

  • Blog
  • Tutorials

COPYRIGHT © 2014- 2025 COGMENTIS LTD. ALL RIGHTS RESERVED.
REGISTERED IN ENGLAND AND WALES: #6508060
AWeber is a trademark of AWeber Systems Inc. AWtomator is not affiliated with or sponsored by AWeber

  • Privacy Policy
  • Refund Policy
  • Terms of Use
  • Affiliates
  • Contact Us

We use cookies to ensure you get the best experience on our website, including personalisation of ads.Privacy PolicyOk