Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tim C 161 posts 528 karma points
    May 12, 2016 @ 22:13
    Tim C
    0

    Writing to custom sql db on page load

    As an alternative to say Google Analytics, would it be possible to write to a custom sql database on every page view , eg sending the page title, id and maybe other items from the page to be stored in a separate db for retrieval.

    That is, the page would connect to the db and call an agent with parameters to create the row.

    Can this be done? Thanks!

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    May 12, 2016 @ 22:57
    Nicholas Westby
    100

    Sure can. Umbraco has no limitations on calling to external databases. You can even store it to Umbraco's database if you want. Umbraco has this PetaPoco concept that allows you to interact with the database easily.

Please Sign in or register to post replies

Write your reply to:

Draft