magfest / ubersystem

MAGFest's Ubersystem - handles ticketing, staffing, analytics, volunteers, and tons more
http://magfest.org
GNU Affero General Public License v3.0
48 stars 55 forks source link

Add support for custom tracking pixel #1379

Open nickthenewbie1 opened 9 years ago

nickthenewbie1 commented 9 years ago

When we run ad campaigns, there's an option to add in goal conversion tracking. This involves adding some snippet of code in between the head tags on the "registration complete" page.

Please add a plugin config options where you can add N arbitrary html/js code snippets in the html head of the page you land on after successful payment completion.

EliAndrewC commented 9 years ago

As it happens one of the next things I'm doing dovetails nicely into this.

thaeli commented 9 years ago

What thing would that be?

EliAndrewC commented 9 years ago

@kitsuta asked for the ability to have all plugins be able to add content to any page without us having to specifically add an empty file in the core repo with a

{% include "template_we_had_to_manually_define.html" %}

Instead, we should be able to just define e.g. myplugin/templates/extras/jobs/index.html and have that get automatically included in uber/templates/jobs/index.html. Additionally, if two or more plugins define that extras file, they'll both be included, since that makes it possible for multiple plugins to make additions/modifications to the same page.

I don't recall what ticket this is under, but I'll look for it so I can mark it as in progress when I finally find time to start on this.

thaeli commented 9 years ago

I like the concept but where in the base template does the extra stuff get inserted? Do we need to define standard locations?

On Aug 18, 2015, at 1:32 PM, Eli Courtwright notifications@github.com wrote:

@kitsuta asked for the ability to have all plugins be able to add content to any page without us having to specifically add an empty file in the core repo with a

{% include "template_we_had_to_manually_define.html" %}

Instead, we should be able to just define e.g. myplugin/templates/extras/jobs/index.html and have that get automatically included in uber/templates/jobs/index.html. Additionally, if two or more plugins define that extras file, they'll both be included, since that makes it possible for multiple plugins to make additions/modifications to the same page.

I don't recall what ticket this is under, but I'll look for it so I can mark it as in progress when I finally find time to start on this.

— Reply to this email directly or view it on GitHub.

EliAndrewC commented 9 years ago

I like the concept but where in the base template does the extra stuff get inserted? Do we need to define standard locations?

I figured for starters we'd just insert at the end of the <body>, and if we have HTML that we'd like to be in a specific place, we'd just put it there with Javascript. That's what we're doing with our existing regextras.htmland friends.

nickthenewbie1 commented 9 years ago

I'm about to fire up some ad campaigns, is there an ETA on this functionality?