What is the best method to ensure that the auto action only applies to frontend? I tried using [cb:if application_context="frontend"] (ending with [/cb:if]) but it seems that some backend admin actions fall into that category?
I check the relative URL for where the user is with the following php code:
Code:
<?php
$currentPageRelUrl = $_SERVER["REQUEST_URI"];
?>
It gives the correct information (I made an auto action that emails me the information as a test) about what page the user has moved to
But for example, if I open the profile for a user in the admin backend, the email auto action with variables revealed tells me that the user has opened /home/index.php
So it seems that some backend actions are being observed as frontend actions?