Re: [mezzanine-users] A few quick questions...

2016-12-12 Thread Stephen McDonald
I think Google Analytics already covers what you're trying to do.

That said, you could put together some Django middleware to do what you
need, nothing Mezzanine specific about it.

On Tue, Dec 13, 2016 at 4:51 AM, Paul  wrote:

> I'm new to a lot of this and was curious on some pointers on things to
> research. If someone links me to FAQ or help I'm open to that (I've done a
> bit of reading, too).
>
> 1. I want to build a plugin that tracks the first URL someone hits on my
> site, store it in a cookie, and then when someone submits a form, I want to
> include that in the form so I know what page someone first came to on my
> site (I may also want to include referrer in here, too). I've used WTForms
> with Flask before. My question: how do I integrate this with Mezzanine? How
> do I hook into the first page load of a user? In Django terms, I believe I
> want to create "middleware" – but can someone clarify this?
>
> 2. Is there something that logs each page request in a database? eg. I had
> something like this on Drupal: https://www.drupal.org/project/visitors -
> is there something for Mezzanine? Or, do you guys recommend just looking at
> server logs? I'm open to alternative solutions, too.
>
> 3. How much is Mezzanine specific and how much is Django specific? I'm new
> to both, and I'm wondering if I should be searching for solutions to
> Mezzanine and also to Django (I think Django would yield more results, but
> I'm not sure if they're relevant?)
>
> Thank you for your time!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Stephen McDonald
http://jupo.org

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[mezzanine-users] A few quick questions...

2016-12-12 Thread Paul
I'm new to a lot of this and was curious on some pointers on things to 
research. If someone links me to FAQ or help I'm open to that (I've done a 
bit of reading, too).

1. I want to build a plugin that tracks the first URL someone hits on my 
site, store it in a cookie, and then when someone submits a form, I want to 
include that in the form so I know what page someone first came to on my 
site (I may also want to include referrer in here, too). I've used WTForms 
with Flask before. My question: how do I integrate this with Mezzanine? How 
do I hook into the first page load of a user? In Django terms, I believe I 
want to create "middleware" – but can someone clarify this?

2. Is there something that logs each page request in a database? eg. I had 
something like this on Drupal: https://www.drupal.org/project/visitors - is 
there something for Mezzanine? Or, do you guys recommend just looking at 
server logs? I'm open to alternative solutions, too. 

3. How much is Mezzanine specific and how much is Django specific? I'm new 
to both, and I'm wondering if I should be searching for solutions to 
Mezzanine and also to Django (I think Django would yield more results, but 
I'm not sure if they're relevant?) 

Thank you for your time! 

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.